#!/usr/bin/env php
<?php
namespace iflow;

use iflow\Container\implement\annotation\Annotation;

require __DIR__ . '/vendor/autoload.php';

// 应用初始化 CLI
#[Annotation([
    'namespaces' => [ __DIR__ . '/app' ]
])] // 加载指定文件夹
class MyApplication extends App {
    public function runApp() {
        $this -> run();
    }
}

(new MyApplication(__DIR__)) -> runApp();

